package com.xt.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 用户课程关联表
 * </p>
 *
 * @author leotong
 * @since 2022-04-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_course_mapping")
@ApiModel(value = "CourseMapping对象", description = "用户课程关联表")
public class CourseMapping extends BaseEntity implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("课程ID")
    private Long courseId;

    @ApiModelProperty("用户ID")
    private Long userId;

}
